﻿using System.Globalization;
using System.Windows.Data;

namespace VideoTools.Converters
{
    public class LogHeightConverter : IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            if (value == null)
                return 0;
            bool ischecked = (bool)value;
            if (ischecked)
                return 100;
            else
                return 0;
        }

        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
            throw new NotImplementedException();
        }
    }
}
